<p><b>File:</b> <%= link_to @resource.filename, :action => "download", :id => @resource %></p>
<p><b>Created at:</b> <%= @resource.created_at.to_s %></p>
<p><b>User id:</b> <%= @resource.user_id %></p>
<p><b>File size:</b> <%= @resource.file_size %> bytes</p>
<p><%= image_tag thumbnail(@resource.thumbnail) %></p>
    

<%= link_to 'Edit', :action => 'edit', :id => @resource %> |
<%= link_to 'Back', :action => 'list' %>
